//
//  XMShareManager.h
//  SmallDay
//
//  Created by new-1020 on 2017/4/25.
//  Copyright © 2017年 com.xiaorizi. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <ShareSDK/ShareSDK.h>
#import <ShareSDKConnector/ShareSDKConnector.h>
#import <ShareSDKUI/ShareSDK+SSUI.h>
typedef enum {
  QQLogin = 2,
  WexinLogin = 1,
  WeiBoLogin = 3
}LoginType;

@interface XMShareManager : NSObject

+(void)registerShare;
+(BOOL)CanWechatLogin;
+(BOOL)CanQQLogin;
+(void)doLongin:(LoginType)type loginSuccessBlock:(void(^)(id))Successblock;
+(void)loginWithPhone:(NSString *)phonemun password:(NSString *)pwd loginSuccessBlock:(void(^)(void))Successblock;

+ (void)shareShow;

+(void)customItemWithtype:(SSDKPlatformType)type;
@end
